package cn.agiledata.bank.common.util;

import java.util.ResourceBundle;

public interface Constant {

	public static final Long PARAMETER_ID = new Long(0);

	public static final Long PAGESIZE = new Long(20);

	public static final Long ENCTLISTPAGESIZE = new Long(100);

	public static final Long VERYBIGPAGESIZE = new Long(99999);

	public static final Long ACTIVITY = new Long(1);
	
	public static final Long TOPCARD = new Long(98);

	public static final Integer DAY = new Integer(5);

	//[START] Session中对象名称
	/** 账户信息摘要 . @see cn.agiledata.bank.account.service.AccountSummary */
	public static final String SESSION_ACCOUNT_SUMMARY = "sessionAccountSummary";

	/** 页面请求原始参数 */
	public static final String SESSION_PAGE_ARGUMENTS = "sessionPageArguments";

	/** 图片验证码的字符串 @see java.lang.String */
	public static final String SESSION_VERIFY_CODE = "sessionVerifyCode";

	public static final String SESSION_IFRAME_PATH = "sessionIframePath";
	
	/**登录错误信息*/
	public static final String LOGIN_RESULT_SUCCESS="登录成功";
	
	public static final String LOGIN_RESULT_FAIL="登录失败";
	//[END]

	//add by zxj，用于单点登录
	/** application范围的map列表名 */
	public static final String APPLICATION_SESSION_ID = "applicationSessionId";

	//[START] Global Forword Name 
	/** 全局错误页面 */
	public static final String FORWORD_ERROR = "forwordError";

	/** 特别的forword名称，用于MainAction里的logon和TopAction里的outRoute */
	public static final String FORWORD_NULL = "forwordNull";

	//[END]
	public static final String WEB = "1";

	public static final String WAP = "2";

	public static final String CALL_CENTER = "3";

	public static final String J2ME = "4";

	//[START] ID生成种别
	/** 序列好前缀 */
	public static final String ID_PREFIX = "V";

	/** 交易流水号 */
	public static final String ID_TX = "idTx";

	/** 账户流水号 */
	public static final String ID_ACCOUNT = "idAccount";

	/** 付款凭证流水号 */
	public static final String ID_PAY_PAPER = "idPayPaper";

	/** 收款凭证流水号 */
	public static final String ID_RECEIVE_PAPER = "idReceivePaper";

	/** 内部转帐凭证流水号 */
	public static final String ID_TRANSFER_PAPER = "idTransferPaper";

	/** 水电煤流水号 */
	public static final String ID_BARCODE = "b";

	/** 手机充值记录流水号 */
	public static final String ID_MOBILE_CHARGE = "idMobileChargeRecord";

	/** 批次流水号 */
	public static final String ID_BATCH_PAY = "idBatchTx";

	/** 调账流水号 */
	public static final String ID_UPADJUST = "idUpadjust";

	/** 注册人员 */
	public static final String CUSTOMER_REGISTER = "1"; //客户注册

	public static final String SERVICE_REGISTER = "2"; //客服注册

	/** 注册方式 */
	public static final String WEB_REGISTER = WEB; //web注册

	public static final String WAP_REGISTER = WAP; //wap注册

	public static final String CALL_CENTER_REGISTER = CALL_CENTER; //call center注册

	public static final String J2ME_REGISTER = J2ME; //j2me注册 

	//[END]

	//收费模式
	public static final String FEE_MODE_FORFULLMONEY = "3"; //我们向银行交费，也向客户收费

	public static final String FEE_MODE_FORBANK = "2";//我们向银行交费，向客户免费

	public static final String FEE_MODE_NOMONEY = "1";//全免费

	//交易状态
	public static final String TRANS_STATUS_INIT = "0";//待确认

	public static final String TRANS_STATUS_WAITFORBUYER = "1";//买方已付款，等待卖方发货

	public static final String TRANS_STATUS_WAITFORBUYERAFFIRM = "2";//卖方已发货，等待买方确认

	public static final String TRANS_STATUS_TRANSACTIONSUCCESS = "3";//交易成功

	public static final String TRANS_STATUS_TRANSACTIONFAIL = "4";//交易失败

	public static final String TRANS_STATUS_WAITFORBUYERPAY = "5";//等待买方付款

	public static final String TRANS_STATUS_TRANSACTIONCLOSE = "6";//交易取消

	//adon add for refund
	public static final String TRANS_STATUS_APPLYREFUND = "7";//申请退款

	public static final String TRANS_STATUS_DISPUTED = "8";//争议处理

	public static final String TRANS_STATUS_REFUNDSUCC = "9";//退款成功

	public static final String TRANS_STATUS_APPLYREFUNDCLOSE = "10";//取消退款

	public static final String TRANS_STATUS_WAITEBANKFEEDBACK = "11";//待银行反馈

	//记账模型
	public static final String MODEL_TYPE_BANKDEPOSIT = "1";//银行卡充值

	public static final String MODEL_TYPE_REMIT = "2";//线下汇款充值

	public static final String MODEL_TYPE_GATHERING = "3";//收款

	public static final String MODEL_TYPE_PAYMONEY = "4";//付款

	public static final String MODEL_TYPE_REMEDY = "5";//冲正

	public static final String MODEL_TYPE_GAINMONEY = "6";//提现

	public static final String MODEL_TYPE_INTEREST = "7";//利息收入

	//权限模型
	public static final String PERMIS_TYPE_BANKDEPOSIT = "1"; //冲值

	public static final String PERMIS_TYPE_GAINMONEY = "2"; //转出

	public static final String PERMIS_TYPE_PAYMONEY = "3"; //付款

	public static final String PERMIS_TYPE_GATHERING = "4"; //收款

	public static final String PERMIS_TYPE_TRANSFER = "5"; //子帐户转帐
	
	public static final String PERMIS_TYPE_RETURN = "6"; //退款

	//取现时收费模式
	public static final String WITHDRAW_FEE_FRIST = "1";//用户提现多少，就实际汇给他多少，手续费另外出

	public static final String WITHDRAW_FEE_SECOND = "2";//用户提现多少，就实际汇给他的钱比提现的少，手续费从提现额里面扣除

	//账户类型
	public static final String ACCOUNT_TYPE_BUYER = "A";//个人

	public static final String ACCOUNT_TYPE_CORPORATION = "B";//企业

	//edit by wubo 20080324 start
	public static final String COMPANY_TYPE_SIMPLE = "1";//一般企业用户

	public static final String COMPANY_TYPE_GATEWAY = "2";//网关企业用户

	//edit by wubo 20080324 end
	public static final String ACCOUNT_TYPE_INITIAL = "C";//内部账户

	//账户类型
	public static final String SUB_ACCOUNT_TYPE_NORMAL = "0";//普通

	public static final String SUB_ACCOUNT_TYPE_MOBILE = "1";//手机		//J2ME 使用

	//[START] 账户状态信息--by 马贤波
	/** 账户无效 */
	public static final String ACCOUNT_STATE_INVALID = "1";

	/** 账户尚未激活 */
	public static final String ACCOUNT_STATE_UNACTIVATED = "2";

	/** 账户冻结 */
	public static final String ACCOUNT_STATE_LOCK = "3";

	/** 账户锁定（不能登录） */
	public static final String ACCOUNT_STATE_LOGIN_LOCK = "4";

	/** 企业账户申请中 */
	public static final String ACCOUNT_STATE_PRE_ENTERPRISE = "5";

	/** 账户正常使用 */
	public static final String ACCOUNT_STATE_NORMAL = "7";

	//[END]

	////[START] 登录失败原因，对应sysbook表里type_id='LOGIN_ERR_REASON'的记录
	//用于system_log表的login_err_reason字段，该字段记录用户登录失败原因（login_err_reason='1'），如果为空，表示登录成功
	/** 登录密码错误 */
	public static final String LOGIN_PWD_ERR = "1";
	
	/**登录错误备注*/
	
	public static final String LOGIN_ERR_REMARK="登录密码错";

	//用于system_log表的login_err_reason字段，该字段记录用户登录失败原因（login_err_reason='1'），如果为空，表示登录成功
	//同时该字段也用于记录支付密码输错（login_err_reason='2'）
	/** 支付密码错误 */
	public static final String PAY_PWD_ERR = "2";
	
	public static final String PAY_PWD_ERR_REMARK="支付密码错";

	//[END]

	public static final String TRANTYPE_ASSURE = "1";//交易类型为担保交易

	public static final String TRANTYPE_NOASSURE = "2";//交易类行为无担保交易

	//账户审核状态
	/** 企业账户已审核 */
	public static final String ACCOUNT_AUDIT_STATUS_NORMAL = "2";

	//银行状态
	public static final String INITIAL_ACCOUNT_BANK = "1";//银行账户

	public static final String INITIAL_ACCOUNT_REPLEASE = "2";//垫付资金

	public static final String INITIAL_ACCOUNT_CHARGE = "3";//收费账户

	public static final String INITIAL_ACCOUNT_ASSURE = "4";//担保账户

	public static final String INITIAL_ACCOUNT_PICKUP = "5";//提现账户

	public static final String INITIAL_ACCOUNT_DOWNSITE = "6";//线下汇款账户

	public static final String INITIAL_ACCOUNT_NOASSURE = "7";//无担保交易临时账户

	public static final String INITIAL_ACCOUNT_RETURN = "12"; // 退款账户

	//在交易记录中体现
	public static final String TRADE_TYPE_ASSURE = "1";//担保付款

	public static final String TRADE_TYPE_NOASSURE = "2";//直接汇款

	//行为模型
	public static final String ACTION_TYPE_A = "1";//银行卡充值

	public static final String ACTION_TYPE_B = "2";//线下汇款充值

	public static final String ACTION_TYPE_C = "3";//账户间交易

	public static final String ACTION_TYPE_D = "4";//提现

	public static final String ACTION_TYPE_E = "5";//冲正

	public static final String ACTION_TYPE_F = "6";//银行卡付款给对方账户

	public static final String ACTION_TYPE_G = "7";//账户余额付款给对方银行

	public static final String ACTION_TYPE_H = "8";//内部账户转账

	public static final String ACTION_TYPE_I = "9";//调整

	public static final String ACTION_TYPE_J = "10";//产生利息

	public static final String ACTION_TYPE_K = "11";//电话银行充值

	public static final String ACTION_TYPE_L = "12";//电话银行付款给对方账户

	public static final String ACTION_TYPE_M = "13";//退款给买家

	public static final String ACTION_TYPE_N = "14";//退款卖家收款

	public static final String ACTION_TYPE_X = "15";//卡系统转入

	public static final String ACTION_TYPE_Y = "16";//卡系统转出

	public static final String ACTION_TYPE_O = "17";//B2B网上银行充值

	public static final String ACTION_TYPE_P = "18";//B2B网上银行付款

	public static final String ACTION_TYPE_Q = "19";//卡付款

	public static final String ACTION_TYPE_R = "20";// 退款

	public static final String ACTION_TYPE_S = "21"; //外卡网上银行消费

	/** 账户流水号 */
	public static final String CARD_NUMBER = "cardnumber";

	//积分来源
	public static final String SCORES_SOURCE_A = "1";//注册

	public static final String SCORES_SOURCE_B = "2";//积分激活

	public static final String SCORES_SOURCE_C = "3";//提现

	public static final String SCORES_SOURCE_D = "4";//充值

	public static final String SCORES_SOURCE_E = "5";//用户存款积分

	public static final String SCORES_SOURCE_F = "6";//账户直付

	public static final String SCORES_SOURCE_G = "7";//向网站提出建议和意见

	public static final String SCORES_SOURCE_H = "8";//推荐用户

	public static final String SCORES_SOURCE_I = "9";//消费

	public static final String SCORES_SOURCE_J = "10";//等级升级

	public static final String SCORES_SOURCE_K = "11";//抽奖

	public static final String SCORES_SOURCE_L = "12";//积分清空

	//积分方式
	public static final String SCORES_METHOD_A = "1";//一次性积分

	public static final String SCORES_METHOD_B = "2";//比例积分

	public static final String SCORES_METHOD_C = "3";//固定积分

	//积分激活状态
	public static final String SCORES_ACTIVATE_STATUS_A = "1";//未激活

	public static final String SCORES_ACTIVATE_STATUS_B = "2";//已激活

	//积分优先级
	public static final String SCORES_PRIORITY_A = "1";//常规

	public static final String SCORES_PRIORITY_B = "2";//推广期/活动

	//小数处理方式
	public static final String DECIMAL_FRACTION_METHOD_A = "1";//保留

	public static final String DECIMAL_FRACTION_METHOD_B = "2";//取整

	public static final String DECIMAL_FRACTION_METHOD_C = "3";//四舍五入

	//用户等级
	public static final String CUSTOMER_GRADING_A = "3";//普通用户

	public static final String CUSTOMER_GRADING_B = "5";//高级用户

	public static final String CUSTOMER_GRADING_C = "7";//vip用户

	//限制等级
	public static final String LIMIT_GRADING_A = "4";//普通用户

	public static final String LIMIT_GRADING_B = "6";//高级用户

	public static final String LIMIT_GRADING_C = "8";//vip用户

	//积分扣除
	public static final String DEDUCE_SCORES_A = "1";//扣除成功

	public static final String DEDUCE_SCORES_B = "2";//积分余额不足

	public static final String DEDUCE_SCORES_C = "3";//积分账户尚未激活

	//add by zhang yao wu,银行的字符串Id
	public static final String BANK_CHINA = "1";//中国银行

	public static final String BANK_ICBC = "2";//工商银行

	public static final String BANK_ABC = "3";//农业银行

	public static final String BANK_CCB = "4";//建设银行

	public static final String BANK_COMM = "5";//交通银行

	public static final String BANK_CMB = "6";//招商银行

	public static final String BANK_SPDB = "7";//浦发银行

	public static final String BANK_CMBC = "8";//民生银行

	public static final String BANK_ACCOUNT_NO = "bankAccount";// 系统在银行里面的账号

	public static final String CURRENCY_RMB = CurrencyType.CNY.getCode();

	public static final String CURRENCY_USD = CurrencyType.USD.getCode();

	public static final String INSIDE_STATUS_YES = "Y";

	public static final String INSIDE_STATUS_NO = "N";

	//收付
	public static final String RECEIVE = "1";

	public static final String PAY = "-1";

	public static final String ACCOUNT_SETUP_TYPE_A = "A";

	public static final String ACCOUNT_SETUP_TYPE_B = "B";

	public static final String ACCOUNT_SETUP_TYPE_C = "C";

	public static final String OUT_CALL_PRE = "9";

	//对象类别
	public static final String OBJECT_FLAG_1 = "1";//自己

	public static final String OBJECT_FLAG_2 = "2";//对方

	public static final String OBJECT_FLAG_3 = "3";//双方

	//冲正标志,YN。表明是否已经冲正过
	public static final String REVERSE_FLAG_Y = "Y";//是

	public static final String REVERSE_FLAG_N = "N";//否

	public static final String TRANS_STATUS_INIT_0 = "0";//待确认

	public static final String TRANS_STATUS_INIT_1 = "1";//已转出

	public static final String TRANS_STATUS_INIT_2 = "2";//已完成

	public static final String NO_AUDIT_STATUS = "0"; //未审核

	public static final String IN_AUDIT_STATUS = "1"; //审核中

	public static final String HAVE_AUDIT_STATUS = "2"; //已审核

	public static final String TRANSACTION_AUDIT_STATUS = "3"; //提现确认通过

	//企业账户间交易类型
	public static final String COMP_ACTION_TYPE_1 = "1";//存款

	public static final String COMP_ACTION_TYPE_2 = "2";//取款

	public static final String COMP_ACTION_TYPE_3 = "3";//转账

	public static final String OPER_TYPE = "OPER_TYPE";

	public static final String DETAIL_FLAG_TRUE = "Y";

	public static final String DETAIL_FLAG_FALSE = "N";

	public static final String SUCCESS = "success";

	public static final String FAILURE = "failure";

	public static final String HOME = "home";

	public static final String INPUT = "input";

	public static final String MESSAGE = "message";

	public static final String MAIN = "main";

	public static final String SHOWCHAIN = "showChain";

	public static final String VALID = "Y";

	public static final String NOT_VALID = "N";

	//错误代码
	public static final String INFRA_FAILURE = "infra_failure";

	public static final String LOGON_ACCOUNT_NOT_EXIST = "logon_account_not_exist";

	public static final String LOGINNAME_EMPTY = "loginname_empty";

	public static final String LOGIN_PASSWORD_EMPTY = "login_password_empty";

	public static final String CONFIRM_LOGIN_PASSWORD_EMPTY = "confirm_login_password_empty";

	public static final String PAY_PASSWORD_EMPTY = "pay_password_empty";

	public static final String CONFIRM_PAY_PASSWORD_EMPTY = "confirm_pay_password_empty";

	public static final String LOGIN_PASSWORD_AND_CONFIRM_LOGIN_PASSWORD_NOT_MATCH = "login_password_and_confirm_login_password_not_match";

	public static final String PAY_PASSWORD_AND_CONFIRM_PAY_PASSWORD_NOT_MATCH = "pay_password_and_confirm_pay_password_not_match";

	public static final String LOGIN_PASSWORD_LENGTH_ERROR = "login_password_length_error";

	public static final String PAY_PASSWORD_LENGTH_ERROR = "pay_password_length_error";

	public static final String USERNAME_EMPTY = "username_empty";

	public static final String BANKNO_EMPTY = "bankno_empty";

	public static final String BANKNO_FORMAT_ERROR = "bankno_format_error";

	public static final String MONEY_EMPTY = "money_empty";

	public static final String MONEY_NOT_LOWER_THAN_ZONE = "money_not_lower_than_zone";

	public static final String ERROR_MOBILE = "error_mobile";

	public static final String REGISTER_MOBILE_DUPLICATED = "register_mobile_duplicated";

	public static final String PAY_PASSWORD_ERROR = "paypassword_error";

	public static final String BALANCE_NOT_ENOUGH = "balance_not_enough";

	public static final String CAN_NOT_TRANSFER = "can_not_transfer";

	public static final String SAME_PERSON = "same_person";

	public static final String MONEY_FORMAT_ERROR = "money_format_error";

	public static final String DATE_FORMAT_ERROR = "date_format_error";

	public static final String PEER_ACCOUNT_NOT_EXIST = "peer_acccount_not_exist";

	//成功代码
	public static final String TRANSFER_SUCCESS = "transfer_success";

	public static final String PAY_SUCCESS = "pay_success";

	public static final String REGISTER_SUCCESS = "register_success";

	public static final String MODIFY_LOGIN_PASSWORD_SUCCESS = "modify_login_password_success";

	public static final String MODIFY_PAY_PASSWORD_SUCCESS = "modify_pay_password_success";

	public static final int FILESIZE_512K = 524288;

	public static final String RETURN_LOGIN_PASSWORD_SUCCESS = "return_login_password_success";

	//交易纪录来源
	public static final String SOURCE_CUSTOMER = "1";//客户

	public static final String SOURCE_INNER = "2";//公司内部

	//买家卖家标志
	public static final String DEBIT_CREDIT_BUY = "D";//买家

	public static final String DEBIT_CREDIT_RECEIVE = "C";//卖家

	public static final String DEFAULT_GRADE_ID = "1";

	public static final String MAIN_PAGE = "1";

	public static final String ACCOUNT_INFO = "2";

	public static final String ACCOUNT_CHANGE = "3";

	public static final String TRANSACTION_QUERY = "4";

	public static final String USER_SETUP = "5";

	public static final String PROJECT_WEBPAY = "webpay";

	public static final String PROJECT_MUTUAL = "mutual";

	// 已使用标志
	public static final int USED_NO = 0; //未使用

	public static final int USED_YES = 1; //已使用

	//有效性标志
	public static final int VALID_NO = 0; //无效

	public static final int VALID_YES = 1; //有效

	//响应方式
	public static final int RESPONSE_MODE_NEVER = 0; //不响应，系统内部使用

	public static final int RESPONSE_MODE_PAGE = 1; //页面响应

	public static final int RESPONSE_MODE_BACKGROUND = 2; //后台响应

	public static final int RESPONSE_MODE_BOTH = RESPONSE_MODE_PAGE
			| RESPONSE_MODE_BACKGROUND;//两者都需

	public static final String IVR_SUBACCOUNT_YES = "Y"; //是IVR子账户

	public static final String IVR_SUBACCOUNT_NO = "N"; //不是IVR子账户

	public static final String IVR_STATUS_YES = "Y"; //ivr开通

	public static final String IVR_STATUS_NO = "N"; //ivr关闭

	public static final String STEP_FIRST = "1"; //第一阶段

	public static final String STEP_SECOND = "2"; //第二阶段

	public static final String STEP_CONFIRM = "3"; //确认阶段

	//证件类型
	public static final String ID_TYPE_IDCARD = "1"; //身份证

	public static final String ID_TYPE_PASSPORT = "2"; //护照

	public static final String ID_TYPE_SOLDIER = "3"; //士兵证

	public static final String ID_TYPE_DRIVER = "4"; //驾驶证

	public static final String ID_TYPE_STUDENT = "5"; //学生证

	//认证方式
	public static final String AUTHENTICATION_METHOD_BANK_CARD = "1"; //银行卡

	public static final String AUTHENTICATION_METHOD_MOBILE_TEL = "2"; //手机

	public static final String AUTHENTICATION_METHOD_IDCARD = "3"; //身份证
	
	public static final String AUTHENTICATION_METHOD_COMPANY="3";//公司信息认证
	
	public static final String AUTHENTICATION_METHOD_CLEARAMOUNT ="3";//公司结算账户审核

	public static final String AUTHENTICATION_METHOD_IDCARD_UPLOAD = "3A"; //上传身份证

	public static final String AUTHENTICATION_METHOD_IDCARD_FAX = "3B"; //传真身份证

	public static final String AUTHENTICATION_METHOD_IDCARD_MAIL = "3C"; //邮寄身份证

	//认证状态
	public static final String AUTHENTICATION_STATUS_TOPUBMITTED = "0"; //未提交认证

	public static final String AUTHENTICATION_STATUS_SUBMITTED = "1"; //已提交认证

	public static final String AUTHENTICATION_STATUS_PASS = "2"; //认证通过

	public static final String AUTHENTICATION_STATUS_UNPASS = "3"; //认证未通过

	//升级方式
	public static final String BYAUTHENTICATING = "1"; //实用认证方式

	public static final String BYSCORES = "2";//实用积分方式

	public static final String MUSTOPTION = "2";//必选

	public static final String NOTMUSTOPTION = "1";//可选

	public static final String BANKCARDMETHOD = "1";//银行卡认证方式

	public static final String MOBILEMETHOD = "2";//手机认证方式

	public static final String IDCARDMETHOD = "3";//身份证

	public static final String SESS_VERICODE = "sys_sess_vericode";

	public static final String SESS_SMS_VERICODE = "sys_sess_sms_vericode";

	public static final String SESS_SMS_MOBILE = "sys_sess_sms_mobile";

	public static final String REGISTER_EMAIL_SUCCESS = "register_email_success";

	public static final String REGISTER_MOBILE_SUCCESS = "register_mobile_success";

	public static final String FORGOT_SUCCESS = "forgot_success";

	public static final String ACTIVATE_SUCCESS = "activate_success";

	public static final String ACTIVATE_SUCCESS_SCORES = "activate_success_scores";

	public static final String ACTIVATE_SCORES = "activate_scores";

	public static final String ACTIVATE_SCORES_ACCOUNT = "activate_scores_account";

	public static final String ACTIMAIL_SUCCESS = "actimail_success";

	public static final String ACCOUNT_LOCKED = "logon_account_lock";

	public static final String LIMIT_TYPE_DEFAULT = "1"; //默认的金额限制类行为1

	public static final String LIMIT_TYPE_ACCOUNT = "2"; //客户设置的金额限制为2

	//身份证提交方式
	public static final String IDCARD_SUBMIT_MODE_NEVER = "0"; //未提交

	public static final String IDCARD_SUBMIT_MODE_UPLOAD = "1"; //上传图片

	public static final String IDCARD_SUBMIT_MODE_FAX = "2"; //传真

	public static final String IDCARD_SUBMIT_MODE_MAIL = "3"; //邮件

	//身份证认证状态
	public static final String IDCARD_STATUS_NEVER = "0"; //未提交认证

	public static final String IDCARD_STATUS_AUTHENTICATING = "1";//待认证

	public static final String IDCARD_STATUS_PASS = "2"; //认证通过

	public static final String IDCARD_STATUS_REJECT = "3"; //认证拒绝

	//资讯平台
	public static final String INFORMATION_NOTICE = "1"; //财经资讯

	public static final String INFORMATION_COMPANY = "2"; //公司信息

	public static final String FINANCE_ROLED = "1"; //财经时讯

	public static final String FINANCE_DEVELOPE = "2"; //财经动态

	public static final String FINANCE_FEATURE = "3"; //专题

	public static final String FINANCE_PERSPECTIVE = "4";//观点

	//
	public static final String GROUP_CATEGORY_A = "1"; //个人组

	public static final String GROUP_CATEGORY_B = "2"; //企业组  

	public static final String GROUP_CATEGORY_C = "3"; //所有组

	public static final String GROUP_DEFEND_A = "1"; //不可维护组

	public static final String GROUP_DEFEND_B = "2"; //可维护组

	public static final String GROUP_DEFEND_C = "3"; //默认组

	public static final String GROUP_TYPE_A = "1"; //费率

	public static final String GROUP_TYPE_B = "2"; //利息

	public static final String GROUP_TYPE_C = "3"; //用户等级

	public static final String GROUP_TYPE_D = "4"; //金额限制

	public static final String SUBACCOUNT_TITLE = "子账户:"; //子帐户标题

	//防止篡改
	public static final String DATE_FORMAT = "yyyy-MM-dd hh:mm:ss"; //年-月-日 时：分：秒

	public static final String STRING_SEMICOLON = ";"; //分号

	public static final String NUMBER_FORMAT = "####.########"; //数字格式

	public static final String MONEY_FORMAT = "##,###,##0.00"; //金额格式

	public static final String NULL = "null"; //空值

	public static final String FIELD_ERROR = "无加密值字段"; //无加密值字段

	public static final String ENCRCODEEMPTY_ERROR = "加密值为空"; //加密值为空

	public static final String ENCRCODEERROR = "数据被篡改"; //数据被篡改

	public static final String ENCRCODECORRECT = "数据正确"; //数据正确

	public static final String FIELD_ERROR_CODE = "0"; //无加密值字段的code

	public static final String ENCRCODEEMPTY_ERROR_CODE = "1"; //加密值为空的code

	public static final String ENCRCODEERROR_CODE = "2"; //数据被篡改的code

	public static final String ENCRCODECORRECT_CODE = "3"; //数据正确的code

	public static final String ENCRYPTCODE = "encryptCode"; //数据加密值

	public static final String ACCOUNT_DB = "Account"; //Account表

	public static final String TRANSACTION_DB = "Transaction"; //Transaction表

	public static final String ACCOUNT_BALANCE_DB = "AccountBalance"; //accountBalnace表

	public static final String ACCOUNT_FILE_NAME = "accountFileName"; //account表文件名

	public static final String ACCOUNT_BALANCE_FILE_NAME = "accountBalanceFileName"; //

	public static final String TRANSACTION_FILE_NAME = "transactionFileName"; //

	public static final String ACCOUNT_RESULT_TYPE = "accountResultType";

	public static final String ACCOUNT_BALANCE_RESULT_TYPE = "accountBalanceResultType"; //

	public static final String TRANSACTION_RESULT_TYPE = "transactionResultType"; //

	//充值卡类型
	public static final String FILL_CARD_TYPE_NORMAL = "0"; //普通卡

	public static final String FILL_CARD_TYPE_EXP = "1"; //体验卡

	//充值卡状态
	public static final String FILL_CARD_STATUS_UNUSED = "0"; //未使用

	public static final String FILL_CARD_STATUS_FILLED = "1"; //已充值

	public static final String FILL_CARD_STATUS_CANCEL_AUTO = "2"; //已自动作废

	public static final String FILL_CARD_STATUS_CANCEL_MANUALLY = "3"; //已手工作废

	//银行支持
	public static final int SUPPORT_NONE = 0; //不支持任何银行

	public static final int SUPPORT_NET_BANK = 1; //支持网上银行

	public static final int SUPPORT_TEL_BANK = 2; //支持电话银行

	public static final int SUPPORT_MOBILE_BANK = 4; //支持手机银行

	public static final boolean IS_LOWER = true;

	public static final boolean IS_LOWER_EQUAL = false;

	//是否需要收手续费
	public static final boolean GIVEBACK_PAYFEE_Y = true;//需要

	public static final boolean GIVEBACK_PAYFEE_N = false;//不需要 

	public static final String POUNDMARK_TAKE = "1"; //冲正时扣除手续费

	public static final String POUNDMARK_NONBTAKE = "2"; //冲正时不扣除手续费

	//

	public static final String FINANCIAL_USERTYPE_PERSONAL = "账户别名";

	public static final String FINANCIAL_CORP_OPERATOR = "账户别名";

	public static final String FINANCIAL_USERTYPE_PERSONAL_NUMBER = "银行账号/银行卡号";

	public static final String FINANCIAL_CORP_OPERATOR_NUMBER = "银行账号";

	public static final String INFORMATION_PERSONAL_1 = "您真的要更改当前默认的银行账户吗？";

	public static final String INFORMATION_PERSONAL_2 = "您真的要删除银行账户吗？";

	public static final String INFORMATION_CORP_1 = "您真的要更改当前默认的银行账户吗？";

	public static final String INFORMATION_CORP_2 = "您真的要删除该银行账户吗？";

	public static final String BUTTON_NAME_PERSONAL = "新增银行账户";

	public static final String BUTTON_NAME_CORP = "新增银行账户";

	//email,sp定制
	public static final String GET_NOTIFY_SALE = "1";//收款卖方

	public static final String FILLMONEY = "2";//账户冲值

	public static final String GAINMONEY = "3";//账户提现

	public static final String FILLMONEYDOWN = "4";//线下冲值

	public static final String SUBACCOUNT_EXCHAGE = "5";//子账户转账

	public static final String PAY_SUCCESS_BUY = "6";//买方付款，等待卖方发货

	public static final String PAY_WAITING_ = "7";//卖方发货，等待买方确认

	public static final String BUY_TRAN_SUCCESS = "8";//买方交易成功通知

	public static final String SALE_WAIT_SEND = "9";//卖方等待发货通知

	public static final String SALE_SEND = "10";//卖方已发货通知

	public static final String GET_NOTIFY = "12";//收款通知

	public static final String SALE_TRAN_SUCCESS = "11";//卖方交易成功通知

	public static final String GET_NOTIFY_BUY = "12";//买方收款通知

	public static final String GET_CANCEL_NOTIFY = "13";//收款取消通知

	public static final String MONEY_BACK_NOTIFY = "14";//退款请求通知

	public static final String CANCEL_SUCCESS_BUY = "15";//买房退款成功通知

	public static final String CHAOS_BUY = "16";//买方争议处理

	public static final String CHAOS_BUY_RESULT = "17";//买房争议处理结果通知

	public static final String GAIN_BY_TOOL = "18";// 支付工具收款成功通知

	public static final String CHAOS_SALE = "19";//卖方争议处理通知

	public static final String CHAOS_SALE_RESULT = "20";//卖方争议处理结果通知

	public static final String PERSON_MESSAGE = "21";//个人信息设置

	public static final String BANKCARD = "22";//绑定银行卡

	//企业交易审核状态
	public static final String ES_TRANS_STATUS_TOPUBMIT = "0";//待提交

	public static final String ES_TRANS_STATUS_UNAUDIT = "1";//待审核

	public static final String ES_TRANS_STATUS_UNPAY = "2";//待支付 

	public static final String ES_TRANS_STATUS_FINISH = "3";//交易成功

	public static final String ES_TRANS_STATUS_REJECTED = "4";//审核拒绝

	public static final String ES_TRANS_STATUS_CANCEL = "5";//交易取消

	//SYSBOOK_TYPE_ID
	public static final String SYSBOOK_CARD_TYPE = "CARD_TYPE";//银行账户类别�����˻����

	public static final String SYSBOOK_AUTHENTICATION_METHOD = "AUTHENTICATION_METHOD";//认证方式��֤��ʽ

	//线下充值收款银行
	public static final String BANK_A = "1";//中国农业银行上海浦东分行联洋支行

	public static final String BANK_B = "2";//兴业银行上海华山支行

	public static final String BANK_C = "3";//招商银行东方支行

	public static final String BANK_D = "4";//中国建设银行黄埔支行

	public static final String BANK_E = "5";//中国民生银行上海市东支行

	public static final String BANK_A_NAME = "中国农业银行上海浦东分行联洋支行";

	public static final String BANK_B_NAME = "兴业银行上海华山支行";

	public static final String BANK_C_NAME = "招商银行东方支行";

	public static final String BANK_D_NAME = "中国建设银行黄埔支行";

	public static final String BANK_E_NAME = "中国民生银行上海市东支行";

	public static final String BANK_A_NUMBER = "033173-00040008908";

	public static final String BANK_B_NUMBER = "216140100100062366";

	public static final String BANK_C_NUMBER = "30821582001";

	public static final String BANK_D_NUMBER = "31001518000050006755";

	public static final String BANK_E_NUMBER = "0205014210007202";

	//金额限制规则表，指定该等级后一等级是什么
	public static final String NEXT_A = "6";//普通客户下一级，高级用户

	public static final String NEXT_B = "8";//高级用户下一级，vip用户

	public static final String NEXT_C = "-1";//vip用户下一级，无穷高等级用户

	public static final String EXIST_VOUCHER_CODE = "exist_voucher_code"; //存在回单号

	public static final String NOT_EXIST_VOUCHER_CODE = "not_exist_voucher_code"; //不存在回单号

	public static final String DENY_GET_VOUCHER_CODE = "deny_get_voucher_code"; //拒绝得到回单号

	public static final int PRINTPAGESIZE = 30;//打印交易历史每页显示的个数

	public static final String AUDIT_FIRST_STEP = "初审";

	public static final String AUDIT_SECOND_STEP = "二审";

	public static final String AUDIT_THIRD_STEP = "三审";

	public static final String AUDIT_FORTH_STEP = "四审";

	public static final String AUDIT_FIFTH_STEP = "五审";

	public static final String AUDIT_FINAL_STEP = "终审";

	public static final String AUDIT_ONE_STEPS = "一级审核";

	public static final String AUDIT_TWO_STEPS = "二级审核";

	public static final String AUDIT_THREE_STEPS = "三级审核";

	public static final String AUDIT_FOUR_STEPS = "四级审核";

	public static final String AUDIT_FIVE_STEPS = "五级审核";

	public static final String AUDIT_SIX_STEPS = "六级审核";
	
	/*
	 * 银行代码
	 */
	// 直连银行
	public static final String BANK_CODE_ABC = "abc";		// 农业银行
	public static final String BANK_CODE_CIB = "cib";		// 兴业银行
	public static final String BANK_CODE_CMB = "cmb";		// 招商银行
	public static final String BANK_CODE_ICBC = "icbc";		// 工商银行
	public static final String BANK_CODE_CCB = "ccb";		// 建设银行
	public static final String BANK_CODE_CMBC = "cmbc";		// 民生银行
	public static final String BANK_CODE_HXB = "hxb";		// 华夏银行
	public static final String BANK_CODE_CEB = "ceb";		// 光大银行
	// 银联银行
	public static final String BANK_CODE_CP_CNCB = "cncb_cp";		// 中信银行
	public static final String BANK_CODE_CP_BOCSH = "bocsh_cp";	// 中国银行上海分行
	public static final String BANK_CODE_CP_BOCGD = "bocgd_cp";	// 中国银行广东分行
	public static final String BANK_CODE_CP_COMM = "comm_cp";		// 交通银行
	public static final String BANK_CODE_CP_SPDB = "spdb_cp";		// 上海浦东发展银行
	public static final String BANK_CODE_CP_GDB = "gdb_cp";		// 广东发展银行
	public static final String BANK_CODE_CP_SDB = "sdb_cp";		// 深圳发展银行
	public static final String BANK_CODE_CP_POSTGC = "postgc_cp";	// 邮政储蓄
	public static final String BANK_CODE_CP_SHRCB = "shrcb_cp";	// 上海农村商业银行
	public static final String BANK_CODE_CP_BOB = "bob_cp";		// 北京银行
	public static final String BANK_CODE_CP_GZCB = "gzcb_cp";		// 广州商业银行
	public static final String BANK_CODE_CP_BOWZ = "bowz_cp";		// 温州银行
	public static final String BANK_CODE_CP_ABC = "abc_cp";		// 农业银行
	public static final String BANK_CODE_CP_CEB = "ceb_cp";		// 光大银行
	public static final String BANK_CODE_CP_CMB= "cmb_cp";		// 招商银行
	public static final String BANK_CODE_CP_ICBC= "icbc_cp";	// 工商银行
	public static final String BANK_CODE_CP_CCB= "ccb_cp";	// 建设银行
	public static final String BANK_CODE_CP_CMBC= "cmbc_cp";	// 民生银行
	public static final String BANK_CODE_CP_CHINAPAY= "chinapay_cp";	// 银联

	/**
	 * 银行代码：模拟银行
	 */
	public static final String BANK_CODE_MOCK = "mock";

	/**
	 * 银行代码：支付系统
	 */
	public static final String BANK_CODE_TOPPAY = "agilepay";

	/**
	 * 银行代码：卡
	 */
	public static final String BANK_CODE_TOPCARD = "agilecard";

	//水电煤，缴费状态    
	public static final String USER_BARCODEPAY_STATUS_PAYED = "1";//已缴费

	public static final String USER_BARCODEPAY_STATUS_WAITPAY = "2";//未缴费

	public static final String BARCODEPAY_ACCOUNTID = "10";//内部账户的id

	public static final String BARCODEPAY_KEY = "mYtJwZFCd9nwGMu2";//内部账户的key

	public static final String RETURNSUCCESS = "0000";//返回成功

	public static final String CHARGE_STATUS_0 = "0";//已支付,待生成

	public static final String CHARGE_STATUS_1 = "1";//已生成，待发送

	public static final String CHARGE_STATUS_2 = "2";//已发送,待结算

	public static final String CHARGE_STATUS_3 = "3";//已结算

	/**
	 * 交易对方账户来源：联系人
	 */
	public static final String PEER_ACCOUNT_SOURCE_PREPARATIVE = "1";

	/**
	 * 交易对方账户来源：一般交易过账户
	 */
	public static final String PEER_ACCOUNT_SOURCE_TRANSACTED = "2";

	/**
	 * 交易对方账户来源：批量导入交易过账户
	 */
	public static final String PEER_ACCOUNT_SOURCE_IMPORTED = "3";

	/**
	 * 批量支付类型：批量账户间付款
	 */
	public static final String BATCH_PAY_TYPE_INNER = "inner";

	/**
	 * 批量支付类型：批量账户直付
	 */
	public static final String BATCH_PAY_TYPE_BANK = "bank";

	/**
	 * 调账审核状态
	 */
	public static final String UPADJUST_AUDITSTATUS_0 = "0";//未审核

	public static final String UPADJUST_AUDITSTATUS_1 = "1";//审核中

	public static final String UPADJUST_AUDITSTATUS_2 = "2";//审核成功

	public static final String UPADJUST_AUDITSTATUS_3 = "3";//审核失败

	public static final String UPADJUST_AUDITSTATUS_4 = "4";//交易已成功

	/**
	 * 企业用户向个人用户付款权限
	 */
	public static final String B2C_AVAIABLE = "1";//可支付

	public static final String B2C_NOTAVAIABLE = "0";//不可支付

	//交易类型（以编号取值）
	/**
	 * 交易类型：B2C网上银行充值
	 */
	public static final String ACTION_TYPE_B2C_NET_INPOUR = "B2cNetIn";

	/**
	 * 线下充值
	 */
	public static final String ACTION_TYPE_OFFLINE_INPOUR = "OfflineIn";

	/**
	 * 账户间交易
	 */
	public static final String ACTION_TYPE_INNER_TRANS = "InnerTrans";

	/**
	 * 提现
	 */
	public static final String ACTION_TYPE_DRAW_2_SELF = "Draw2Self";

	/**
	 * 冲正
	 */
	public static final String ACTION_TYPE_COUNTER_PAY = "CounterPay";

	/**
	 * B2C网上银行付款
	 */
	public static final String ACTION_TYPE_B2C_NET_PAY = "B2cNetPay";

	/**
	 * 付款至他人银行账户
	 */
	public static final String ACTION_TYPE_DRAW_2_OTHER = "Draw2Other";

	/**
	 * 子账户间转账
	 */
	public static final String ACTION_TYPE_SUBACCOUNT_2_SUBACCOUNT = "Sub2Sub";

	/**
	 * 调整
	 */
	public static final String ACTION_TYPE_ADJUST = "Adjust";

	/**
	 * 利息
	 */
	public static final String ACTION_TYPE_INTEREST = "Interest";

	/**
	 * B2C电话银行充值
	 */
	public static final String ACTION_TYPE_B2C_TEL_INPOUR = "B2cTelIn";

	/**
	 * B2C电话银行付款
	 */
	public static final String ACTION_TYPE_B2C_TEL_PAY = "B2cTelPay";

	/**
	 * 退款给买方
	 */
	public static final String ACTION_TYPE_REFUND_2_SELLER = "Rf2Seller";

	/**
	 * 退款卖方收款
	 */
	public static final String ACTION_TYPE_REFUND_2_BUYER = "Rf2Buyer";

	/**
	 * 卡到账户
	 */
	public static final String ACTION_TYPE_TOPCARD_2_TOPPAY = "TCard2TPay";

	/**
	 * 账户到卡
	 */
	public static final String ACTION_TYPE_TOPPAY_2_TOPCARD = "TPay2TCard";

	/**
	 * B2B网上银行充值
	 */
	public static final String ACTION_TYPE_B2B_NET_INPOUR = "B2bNetIn";

	/**
	 * B2B网上银行付款
	 */
	public static final String ACTION_TYPE_B2B_NET_PAY = "B2bNetPay";

	/**
	 * 外卡支付
	 */
	public static final String ACTION_TYPE_INTL_NET_PAY = "IntlNetPay";


	/*
	 * 月度积分上限限制
	 */
	public static final String SYS_PARAM_MONTH_SCORE_LIMITE = "SCORE_LIMITE_M";

	/*
	 * 手机充值状态
	 */
	public static final String MOBILE_CHARGE_STATUS_CREATE = "1"; // 创建

	public static final String MOBILE_CHARGE_STATUS_SUBMIT = "2"; // 提交(未充值)

	public static final String MOBILE_CHARGE_STATUS_SUCCESS = "3"; // 充值成功

	public static final String MOBILE_CHARGE_STATUS_FAILURE = "4"; // 充值失败

	public static final String MOBILE_CHARGE_STATUS_REFUND = "5"; // 已退款

	public static final String MOBILE_CHARGE_STATUS_ERROR = "6"; // 退款失败

	/*
	 * 充值类型
	 */
	public static final int MOBILE_CHARGE_TYPE_50 = 1; // 50元

	public static final int MOBILE_CHARGE_TYPE_100 = 2; // 100元
	/*
	 * SysParam
	 */
	public static final String SYS_PARAM_MOBILE_CHARGE_50 = "MOBILE_CHARGE_50"; // 50元充值实际金额

	public static final String SYS_PARAM_MOBILE_CHARGE_100 = "MOBILE_CHARGE_100"; // 100元充值实际金额

	public static final String SYS_PARAM_MOBILE_CHARGE_UU_50 = "MOBILE_CHARGE_UU_50"; // 用户50元充值实际金额

	public static final String SYS_PARAM_MOBILE_CHARGE_UU_100 = "MOBILE_CHARGE_UU_100"; // 用户100元充值实际金额

	public static final String SYS_PARAM_MOBILE_TIMES_1DAY = "MG_UU_TIMES_1DAY"; // 用户每天手机充值次数

	public static final String MOBILE_CHARGE_ACCOUNTID = "2120111120171526001"; // 手机充值内部账户ID

	public static final String MOBILE_CHARGE_KEY = "123456"; // 手机充值账户KEY

	public static final String TOPCARD_ACCOUNT_ID = "9"; // 卡账户编号

	/*
	 * 卡余额查询http接口返回状态
	 */
	public static final String UC_QUERY_STATUS_NORMAL = "0"; // 正常

	public static final String UC_QUERY_STATUS_NOT_ACTIVE = "1"; // 未激活

	public static final String UC_QUERY_STATUS_NOT_EXISTS = "2"; // 卡号不存在

	public static final String UC_QUERY_STATUS_ERROR = "3"; // 卡号状态异常
	
	/*
	 * 密码有效期限设置
	 */
	
	public static final int PASSWORD_OVERDATE_YEAR=2;
	public static final int PASSWORD_OVERDATE_DAY=90;
	public static final String  CODE_12="12";
	public static final String  CODE_13="13";
	public static final String  CODE_14="14";
	public static final String  CODE_15="15";
	public static final String  CODE_16="16";
	public static final String TRANS_FAIL2="2";
	public static final String TRANS_FAIL="91";
	public static final String REFUND_OK="92";
	public static final String MOBILE_SESSION_SIGN="mobile_session_sign";
	
	public static ResourceBundle frontconfig = ResourceBundle.getBundle("frontbaseconfig");
	
	public static final String WEBROOT_URL = frontconfig.getString("webRootUrl");

}